/**
 * ******************************************************************************************************
 * @App: dc
 * @author: alisa
 * @module: ModalsModule
 *
 * @descriptions:
 *  所有的弹框集合
 *
 *  AddCabinetComponent: 添加机柜
 *  AddCabinetGroupComponent: 添加机柜组
 *  DeleteWarningComponent: 删除提示框
 *  EditThresholdComponent: 编辑阈值
 *  EditCabinetInfoComponent: 编辑机柜信息
 *  SmpConfigComponent: 编辑机柜SMP配置(A-Rack类型机柜独有)
 *  AddServerComponent: 添加服务器
 * @notice:
 *
 * ******************************************************************************************************
 */
import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
/** Forms module */
import {FormsModule, ReactiveFormsModule} from '@angular/forms';

/** shared module */
import { AngularMaterialModule} from "../shared/angular-material/angular-material.module";
import { SharedComponentsModule } from "../shared/components/shared.components.module";


/** bootstrap modal */
import { ModalModule } from 'ngx-bootstrap/modal';

/** components */
import { AddCabinetComponent } from "./add-cabinet/add-cabinet.component";
import { AddCabinetGroupComponent } from './add-cabinet-group/add-cabinet-group.component';
import { DeleteWarningComponent } from './delete-warning/delete-warning.component';
import { EditThresholdComponent } from './edit-threshold/edit-threshold.component';
import { EditCabinetInfoComponent } from './edit-cabinet-info/edit-cabinet-info.component';
import { DeleteConfirmComponent } from './delete-confirm/delete-confirm.component';
import { AddServerComponent } from './add-server/add-server.component';
import { EditServerComponent } from './edit-server/edit-server.component';
import { SmpConfigComponent } from './smp-config/smp-config.component';

@NgModule({
  imports: [
    CommonModule,
    AngularMaterialModule,
    FormsModule,
    ReactiveFormsModule,
    ModalModule.forRoot(),
    SharedComponentsModule
  ],
  declarations: [
    AddCabinetComponent,
    AddCabinetGroupComponent,
    DeleteWarningComponent,
    DeleteConfirmComponent,
    AddServerComponent,
    EditServerComponent,
    EditThresholdComponent,
    EditCabinetInfoComponent,
    SmpConfigComponent
  ],
  providers: [],
  entryComponents: [
    AddCabinetComponent,
    AddCabinetGroupComponent,
    DeleteWarningComponent,
    DeleteConfirmComponent,
    AddServerComponent,
    EditThresholdComponent,
    EditCabinetInfoComponent,
    SmpConfigComponent,
    EditServerComponent,
  ]
})
export class ModalsModule {
}
